<script>
	const miniShopPlugin = requirePlugin('mini-shop-plugin');
	export default {
		onLaunch() {
			console.log('onLaunch')
			miniShopPlugin.initApp(this.$mp.app, wx, wx)
		}
	}
</script>

<style lang="scss">
	@import url("./icons/icon.css");
	@import url("./icons/nicon.css");
	
	/*每个页面公共css */
	page {
		background-color: #f1f2f3;
	}
	image{height:auto}
	.text_bg{
		display: inline-block;
		height: 40rpx;
		line-height: 40rpx;
		text-align: center;
		color: #749be6;
		border-radius: 10rpx;
		background: #cce1f4;
		font-size: 24rpx;
		font-weight: bold;
		padding: 10rpx 20rpx;
	}
	.u-button--smal{
		padding: 0 15px;
	}
	.main{
		margin: 20rpx;
		font-size: 24rpx;
	}
	
	.mar_left{
		margin-left: 20rpx;
	}
	
	.mar_left_middle{
		margin-left: 30rpx;
	}
	
	.mar_right{
		margin-right: 20rpx;
	}
	
	.mar_right_middle{
		margin-right: 30rpx;
	}
	
	.mar_top{
		margin-top: 20rpx;
	}
	
	.mar_top_middle{
		margin-top: 20rpx;
	}
	
	.mar_bottom{
		margin-bottom: 20rpx;
	}
	
	.mar_bottom_middle{
		margin-bottom: 30rpx;
	}
	
	.pad_top{
		padding-top: 20rpx;
	}
	
	.pad_top_middle{
		padding-top: 30rpx;
	}
	
	.pad_bottom{
		padding-bottom: 20rpx;
	}
	
	.pad_bottom_middle{
		padding-bottom: 30rpx;
	}
	
	
	.font_w {
		font-weight: bold;
	}
	
	.box_redius {
		border-radius: 20rpx;
		padding: 20rpx;
		overflow: hidden;
		color: #666666;
		background-color: #FFFFFF;
		font-size: 24rpx;
		letter-spacing: 2rpx;
	}

	.flex {
		display: -webkit-box;
		/* 老版本语法: Safari, iOS, Android browser, older WebKit browsers. */
		display: -moz-box;
		/* 老版本语法: Firefox (buggy) */
		display: -ms-flexbox;
		/* 混合版本语法: IE 10 */
		display: -webkit-flex;
		/* 新版本语法: Chrome 21+ */
		display: flex;
		/* 新版本语法: Opera 12.1, Firefox 22+ */
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
	}

	.flex_cen {
		-webkit-box-pack: center;
		-moz-justify-content: center;
		-webkit-justify-content: center;
		justify-content: center;
	}

	.flex_bet {
		-webkit-box-pack: justify;
		-moz-justify-content: space-between;
		-webkit-justify-content: space-between;
		justify-content: space-between;
	}

	.flex_spa {
		-webkit-box-pack: justify;
		-moz-justify-content: space-around;
		-webkit-justify-content: space-around;
		justify-content: space-around;
	}

	.flex_align {
		-webkit-box-align: center;
		-moz-align-items: center;
		-webkit-align-items: center;
		align-items: center;
	}

	/**子元素换行**/

	.flex-wrap {
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	
</style>
